package com.example.cat.widgetxuexiaoban.WidgetManger;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import com.example.cat.widgetxuexiaoban.Utils.SqlLiteUtils.SqliteConstant;
import com.example.cat.widgetxuexiaoban.Utils.SqlLiteUtils.SqliteHelper;
import com.example.cat.widgetxuexiaoban.Utils.SqlLiteUtils.SqliteManger;

public class WidgetInfoDb {

        private static SqliteHelper helper;

        public static void InitDataBase(Context context) {

            helper = SqliteManger.GetIntance(context);
            SQLiteDatabase database = helper.getReadableDatabase();
            new SqliteManger().ExecSQL(database, SqliteConstant.InitTabel);
            database.close();
        }


    }
